package com.juneng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 年级信息实体类
 *
 * @author zds
 * @since 2021-08-06
 */
@Data
@ApiModel(value = "Grade对象", description = "年级信息")
@TableName("grade")
public class Grade implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
  @ApiModelProperty(value = "自增id")
  @TableId(value = "grade_id", type = IdType.AUTO)

  private Long gradeId;
    /**
     * 年级
     */
  @ApiModelProperty(value = "年级")

  private String gradeName;
    /**
     * 权重排序
     */
  @ApiModelProperty(value = "权重排序")

  private Integer gradePosition;
    /**
     * 创建时间
     */
  @ApiModelProperty(value = "创建时间")

  private LocalDateTime gradeCreateDate;
    /**
     * 修改时间
     */
  @ApiModelProperty(value = "修改时间")

  private LocalDateTime gradeUpdateDate;
    /**
     * 逻辑删除
     */
  @ApiModelProperty(value = "逻辑删除")

  private Integer deleted;
    /**
     * 上级父类id
     */
  @ApiModelProperty(value = "上级父类id")

  private Long parentId;
    /**
     * 级别 1表示一级  2表示两级
     */
  @ApiModelProperty(value = "级别 1表示一级  2表示两级")

  private Integer level;


}
